//
//  GRSiftSortViewCell.m
//  YC_GRice
//
//  Created by Feng Liu on 2018/10/7.
//  Copyright © 2018年 YeCai. All rights reserved.
//

#import "GRSiftSortViewCell.h"

@implementation GRSiftSortViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

-(void)setClassModel:(GRStoreClassModel *)classModel {
    [self.classIcon sd_setImageWithURL:[NSURL URLWithString:classModel.icon] placeholderImage:[UIImage imageNamed:@"Home_28"]];
    self.className.text = classModel.name;
}

-(void)setHideOption:(BOOL)hideOption {
    self.classIcon.hidden   = hideOption;
    self.className.hidden = hideOption;
}

@end
